home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global theFinishedPages
- if integerp(integer(the text of cast "pageNum")) then
- set currentPageNum to integer(the text of cast "pageNum")
- if currentPageNum < count(theFinishedPages) then
- set the text of field "theOutput" to getAt(theFinishedPages, currentPageNum + 1)
- set the text of field "pageNum" to string(currentPageNum + 1)
- end if
- checkButtons()
- end if
- end
-